Skip to content

fix: correct typos in comments and test error messages#2049

Merged
bwplotka merged 1 commit into
prometheus:mainfrom
maxtaran2010:fix/typos-in-comments
Jul 8, 2026
Merged

fix: correct typos in comments and test error messages#2049
bwplotka merged 1 commit into
prometheus:mainfrom
maxtaran2010:fix/typos-in-comments

Conversation

@maxtaran2010

Copy link
Copy Markdown
Contributor

Fix several typos found with codespell:

  • prometheus/histogram.go: interefere -> interfere (code comment)
  • prometheus/internal/difflib.go: synching -> syncing (code comment)
  • prometheus/collectors/go_collector_latest_test.go: missmatch -> mismatch (4 occurrences in test error messages)
  • prometheus/collectors/version/version_test.go: missmatch -> mismatch (4 occurrences in test error messages)

Signed-off-by: maxtaran2010 ocotifuzo727@gmail.com

- histogram.go: interefere -> interfere (in comment)
- internal/difflib.go: synching -> syncing (in comment)
- collectors/go_collector_latest_test.go: missmatch -> mismatch (4x)
- collectors/version/version_test.go: missmatch -> mismatch (4x)

Found with codespell.

Signed-off-by: maxtaran2010 <ocotifuzo727@gmail.com>
@maxtaran2010 maxtaran2010 requested a review from bwplotka as a code owner July 8, 2026 09:07
Copilot AI review requested due to automatic review settings July 8, 2026 09:07

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@bwplotka bwplotka left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@bwplotka bwplotka merged commit 20355eb into prometheus:main Jul 8, 2026
14 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants